package com.boatAnchorAssistant.pojo.enums.authorized;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import nirvana.core.domains.enums.Enums;

/**
 * @author Joseph.Li
 * @author joseph.li@king-v.com
 * Created in 2022-06-17 0:27
 *
 * 授权类型  授权/禁用
 */
@Getter
@AllArgsConstructor
public enum AuthorizedTypeEnum implements Enums<AuthorizedTypeEnum> {


    /**
     * 允许
     */
    ALLOW(1,"允许"),

    /**
     * 禁止
     */
    BAN(2,"禁止")

    ;
    @JsonValue
    @EnumValue
    private Integer id;
    private String name;

}
